// 1引入仓库的创建函数
import {createStore,applyMiddleware} from 'redux'
// 2引入管理员
import reducer from './reducer'
// 引入中间件
import thunk from 'redux-thunk'
// 3导出
export default createStore(reducer,applyMiddleware(thunk))